package com.designMode.factory;

import java.util.Map;
import java.util.function.BiConsumer;

public class FactoryTest {


    public static void main(String[] args) {
        roleOperation roleOperation = roleFactory.createRole("ROOT_OPERATOR");
        roleOperation.print();


        roleFactory.factory.forEach((k, v) ->
                System.out.println("key = " + k + "value = " + v));
    }
}
